package com.robusta.spreadsheet.model;

import com.robusta.spreadsheet.model.exception.WorkbookException;

/**
 * Abstraction to represent the header row of a workbook.
 * The header row is represented in the workbook template
 * @author sudhir ravindramohan sudhirbits@gmail.com
 * @since 1.0
 * @see WorkbookTemplate
 */
public interface SheetHeaders extends Iterable<HeaderCell> {
    HeaderCell getHeaderAt(int position) throws WorkbookException;
    HeaderCell getHeaderByText(String headerText) throws WorkbookException;
}
